package com.purchase.manage.damian;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.purchase.common.core.controller.BaseController;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author oyi46
 * @version 1.0
 * Create by 2023/7/4 9:05
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Supplier{
    //供应商id
    private Long supplierId;

    //供应商名称
    private String corporateName;

    //统一信用代码
    private String unifiedCreditCode;

    //法人
    private String legalPerson;

    //法人电话
    private String legalPhone;

    //地址
    private String address;

    //上传的营业执照复印件
    private String businessLicense;

    //公司类别
    private String type;

    //审核状态
    private String state;

    //经办人
    private String handledBy;

    //经办人电话(账号)
    private String handledByPhone;

    //密码
    private String password;

    //邮箱
    private String email;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    //评价分
    private BigDecimal score;

    //公司类别 （sql用）
    private String  typeIds;

}
